@use "sass:math";

@function tovw($size, $base:7.5) {
  @return #{math.div($size, $base)}vw;
}

* {
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: transparent;

  &:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-modify: read-only;
  }
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  outline: none;
  border: none;

  &:active {
    opacity: 0.9;
    transform: scale(1.05);
    transition: all .4s ease;
  }
  &[disabled] {
    cursor: not-allowed;
    transform: none;
    opacity: 1;
  }
}
